import base from "../base"; // 导入接口域名列表
import axios from "../../http/axios"; // 导入http中创建的axios实例
const analysis = {
  //查询截面
  queryCrossSectionByType(params) {
    return axios.get(`${base.baseUrl}/environment_temperature/queryCrossSectionByType`, {
      params: params
    })
  },
  //查询测点
  queryBridgePointByCrossSectionId(params) {
    return axios.get(`${base.baseUrl}/environment_temperature/queryBridgePointByCrossSectionId`, {
      params: params
    })
  },
  //根据类型查询测点列表
  queryBridgePointByType(params) {
    return axios.get(`${base.baseUrl}/environment_temperature/queryBridgePointByType`, {
      params: params
    })
  },

  //应力幅值分析
  //最大值、最小值
  queryStressAmplitudeExtremeValue(params) {
    return axios.get(`${base.baseUrl}/stress_amplitude/queryStressAmplitudeExtremeValue`, {
      params: params
    })
  },
  //折线图
  queryStressAmplitudeAnalyseData(params) {
    return axios.get(`${base.baseUrl}/stress_amplitude/queryStressAmplitudeAnalyseData`, {
      params: params
    })
  },

  //位移趋势分析
  //最大值、最小值
  queryDisplacementNum(params) {
    return axios.post(`${base.baseUrl}/displacement/features/list`, params);
  },
  //折线图
  queryDisplacementLine(params) {
    return axios.post(`${base.baseUrl}/support/displacement/list`, params);
  },
  //散点图 温度相关性
  queryDisplacementScatter(params) {
    return axios.post(`${base.baseUrl}/displacement/travel/list`, params);
  },

  //结构温度分析
  //最大值、最小值
  queryStructureNum(params) {
    return axios.get(`${base.baseUrl}/monitor_analyse/JGWD/queryWsStructureTemperatureFeaturesAnalyseData`, {
      params: params
    })
  },
  //温度趋势 折线图
  queryStructureLine(params) {
    return axios.get(`${base.baseUrl}/monitor_analyse/JGWD/queryWsStructureTemperatureAnalyseData`, {
      params: params
    })
  },

  //环境分析
  //风速特征值
  queryWindNum(params) {
    return axios.get(`${base.baseUrl}/monitor_analyse/DQHJ/queryDQHJFzWindSpeedAnalyseData`, {
      params: params
    })
  },
  //风向玫瑰图
  queryWindRadar(params) {
    return axios.get(`${base.baseUrl}/monitor_analyse/DQHJ/queryDQHJFzRoseFigureAnalyseData`, {
      params: params
    })
  },
  //风速折线图-风速趋势分析
  queryWindLine(params) {
    return axios.get(`${base.baseUrl}/monitor_analyse/DQHJ/queryDQHJFzMeanSpeedAnalyseData`, {
      params: params
    })
  },
  //湿度特征值-环境湿度特征值
  queryHumidityNum(params) {
    return axios.get(`${base.baseUrl}/monitor_analyse/DQHJ/queryWsAtmosphericHumidityFeaturesAnalyseData`, {
      params: params
    })
  },
  //湿度折线图-环境湿度趋势分析
  queryHumidityLine(params) {
    return axios.get(`${base.baseUrl}/monitor_analyse/DQHJ/queryWsMeanHumidityAnalyseData`, {
      params: params
    })
  },
  //温度特征值-环境温度特征值
  queryTemperatureNum(params) {
    return axios.get(`${base.baseUrl}/monitor_analyse/DQHJ/queryWsAtmosphericTemperatureFeaturesAnalyseData`, {
      params: params
    })
  },
  //温度折线图-环境温度趋势分析
  queryTemperatureLine(params) {
    return axios.get(`${base.baseUrl}/monitor_analyse/DQHJ/queryWsMeanTemperatureAnalyseData`, {
      params: params
    })
  },

  //挠度分析10.20添加
  //挠度特征值
  queryDeflectionNum(params) {
    return axios.get(`${base.baseUrl}/monitor_analyse/ND/queryNDFeatureAnalyseData`, {
      params: params
    })
  },
  //挠度趋势分析
  queryDeflectionLine(params) {
    return axios.get(`${base.baseUrl}/monitor_analyse/ND/queryNDTrendAnalyseData`, {
      params: params
    })
  },

  //索力分析10.20添加
  //索力特征值
  queryCableNum(params) {
    return axios.get(`${base.baseUrl}/staycable/queryScFeaturesBydate`, {
      params: params
    })
  },
  //索力趋势分析
  queryCableLine(params) {
    return axios.get(`${base.baseUrl}/staycable/queryScValueByDate`, {
      params: params
    })
  },
  //加速度分析10.20添加
  //加速度特征值
  queryAccelerationNum(params) {
    return axios.get(`${base.baseUrl}/JsAccelerity/queryjsAccelerityExtremeValue`, {
      params: params
    })
  },
  //加速度趋势分析
  queryAccelerationLine(params) {
    return axios.get(`${base.baseUrl}/JsAccelerity/queryJsAccelerity`, {
      params: params
    })
  },
  //倾角分析10.20添加
  //倾角特征值
  queryAngleNum(params) {
    return axios.get(`${base.baseUrl}/JdBeamangle/queryjdBeamangleFeatures`, {
      params: params
    })
  },
  //倾角趋势分析
  queryAngleLine(params) {
    return axios.get(`${base.baseUrl}//JdBeamangle/queryJdBeamangle`, {
      params: params
    })
  },
}
export default analysis
